/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Exception;


/**
 * this class extends the base exception class and handles service exceptions
 * @author tejinder
 */
public class KwickKioskServiceException extends SystemException {

     private String serviceName;
     private String shortMessage;


    /**
     * Constructs an KwickKioskServiceException object with the specified parameters.
     * @param serviceFunctionName name of the businessProcess
     * @param shortMessage        developer friendly message
     * @return void
     */
    public KwickKioskServiceException(String serviceFunctionName, String shortMessage) {
        super(serviceFunctionName, shortMessage);
        this.serviceName = serviceFunctionName;
        this.shortMessage = shortMessage;
    }

    /**
     * @return the serviceName
     */
    public String getServiceName() {
        return serviceName;
    }

    /**
     * @param serviceName the serviceName to set
     */
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    /**
     * @return the shortMessage
     */
    public String getShortMessage() {
        return shortMessage;
    }

    /**
     * @param shortMessage the shortMessage to set
     */
    public void setShortMessage(String shortMessage) {
        this.shortMessage = shortMessage;
    }

}
